package com.shiliao.app.activity.Feedback.ui;

import android.view.View;

import com.shiliao.app.R;
import com.shiliao.app.manager.YMUserManager;
import com.shiliao.app.utils.WebSetUtil;
import com.shiliao.app.utils.YMServerUtil;
import com.shiliao.app.weight.ActionBarView;
import com.shiliao.app.weight.ProgressWebView;
import com.yimei.framework.base.ui.BaseActivity;

import butterknife.BindView;

/**
 * Created by yinzhiqiang on 2017/9/15.
 */

public class AboutActivity extends BaseActivity {
    @BindView(R.id.title_bar)
    ActionBarView mAction;

    @BindView(R.id.webview)
    ProgressWebView webview;

    @Override
    public int getLayoutId() {
        return R.layout.activity_about;
    }

    @Override
    public void initView() {
        super.initView();
        mAction.setTitles("关于我们");
        mAction.setBackClick(this);
        mAction.getBackView().setVisibility(View.VISIBLE);
        final String url = YMServerUtil.getServerUrl() + YMServerUtil.ACTION_ABOUT;
        WebSetUtil.setWebView(webview);
        webview.loadUrl(url);
    }
}
